<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="s" uri="/struts-tags" %>
    <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<s:head theme="ajax"/>
</head>
<body>
<center>
<h2><b>일일 업무일지</b></h2>
<table border=0 width=700>
<tr><td align=left>
<s:a href="/ssteam/worksheet/list_day_man.do?sabun=%{#session.user.sabun}" theme="ajax" targets="outcenter">[개인일지]</s:a>
<s:a href="/ssteam/worksheet/list_day_team.do?depttype=%{#session.user.deptno}" theme="ajax" targets="outcenter">[부서일지]</s:a>
</td>
</tr>
</table>
<table border=0 width=700 cellpadding="0" cellspacing="0">
	<tr><td colspan=3 bgcolor="rgb(91,140,217)" height=2></td></tr>
		
		<tr>
		<td width="100">작성자</td><td width="450">제목</td><td width="150">작성일</td>
		</tr>
		<tr><td colspan=3 bgcolor="rgb(91,140,217)" height=2></td></tr>
	<s:iterator value="list">
		<tr onmouseover="this.style.backgroundColor='#eaf0fa'"  onmouseout="this.style.backgroundColor=''">
		<td>${name}</td><td>
		<s:a href="/ssteam/worksheet/content.do?no=%{no}" theme="ajax" targets="outcenter">
		${subject }
		</s:a>
		</td><td><fmt:formatDate value="${writeday }" pattern="dd일 hh시 mm분"/></td>
		</tr>
		<tr><td colspan=4 height=1 bgcolor=#dadada></td></tr>
	</s:iterator>
	<s:div id="outdaycenter" theme="ajax"></s:div>
</table>
</center>
</body>
</html>